<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SwtDheGood extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'swt_dhe_goods';

    protected $guarded = [];

    public function goods()
    {
        return $this->hasOne(SwtGood::class, 'id', 'goods_id');
    }
}
